<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>修改入住登记信息页面</title>
    <link rel="stylesheet" href="webjars/bootstrap/3.3.5/css/bootstrap.css" type="text/css">
    <script src="webjars/jquery/3.4.1/jquery.js"></script>
    <script src="webjars/bootstrap/3.3.5/js/bootstrap.js"></script>
    <style>
        span{
            float: left;
            width: 120px;
            height: 25px;
        }
        input{
            width: 200px ;
            height: 25px;
            background-color: #f0f8ff;
            margin-bottom: 5px;
        }
        input:hover{
            border:2px #00ff00 solid;
        }
    </style>
</head>
<body>
<legend>修改入住登记信息</legend><br>
<form action="/checkin" method="post">
    <input type="text" name="id" th:value="${cin.id}" readonly style="display:none">
    <span>客户姓名：</span><input type="text" name="name" th:value="${cin.name}"><br>
    <span>性别：</span><input type="text" name="sex" th:value="${cin.sex}" list="sts"><br>
    <datalist id="sts" style="display:none;">
        <option value="男">男</option>
        <option value="女">女</option>
    </datalist>
    <span>年龄：</span><input type="date" name="age" th:value="${cin.age}"><br>
    <span>身份证号：</span><input type="text" name="idcard" th:value="${cin.idcard}"><br>
    <span>房间号：</span><input type="text" name="rnumber" th:value="${cin.rnumber}"><br>
    <span>所属楼房：</span><input type="text" name="bnumber" th:value="${cin.bnumber}"><br>
    <span>档案号：</span><input type="text" name="fnumber" th:value="${cin.fnumber}"><br>
    <span>入住时间：</span><input type="date" name="citime" th:value="${cin.citime}"><br>
    <span>合同到期时间：</span><input type="date" name="cetime" th:value="${cin.cetime}"><br>
    <span>联系人电话：</span><input type="text" name="cnumber" th:value="${cin.cnumber}"><br>
    <span>家属：</span><input type="text" name="family" th:value="${cin.family}"><br>
    <span>陪住人：</span><input type="text" name="accompany" th:value="${cin.accompany}"><br>
    <span>评估医生：</span><input type="text" name="assessmentdo" th:value="${cin.assessmentdo}"><br>
    <span>负责医生：</span><input type="text" name="chargedo" th:value="${cin.chargedo}"><br>
    <span>护工：</span><input type="text" name="careworker" th:value="${cin.careworker}"><br>
    <span>健康管家：</span><input type="text" name="healthsteward" th:value="${cin.healthsteward}"><br>
    <span>操作人：</span><input type="text" name="operator" th:value="${cin.operator}"><br>
    <span>备注：</span><input type="text" name="remarks" th:value="${cin.remarks}"><br>
    <!--添加隐藏域-->
    <input type="hidden" name="_method" value="put">
    <button>提交修改</button>
    <button type="button" onclick="history.go(-1)">返回</button>
</form>
</body>
</html>